<html>
	<head>
		<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	
		<title>CMS</title>
	</head>
	
	<body>
	
	<div style="border: 1px solid red">	
		<?php $this->template->load("commons/header"); ?>
	</div>
	
	<div style="float: left; width: 20%; border: 1px solid green;">
		<?php $this->template->load("commons/sidebar"); ?>
	</div>
	
	<div style="float: right; width: 78%; ">
		<?php if(isset($page)):?>
			<?php $this->template->load("pages/$page"); ?>
		<?php endif;?>
	</div>
	
	<div style="clear: both"></div>
	
	<div style="border: 1px solid red">
		<?php $this->template->load("commons/footer"); ?>
	</div>
	
	</body>	
</html>